package com.wwz.annotation;

import java.lang.annotation.*;

/**
 * @author wwz
 */
@Documented
@Target(value = ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface BusinessJudge {
    /**
     * 唯一键
     * @return
     */
    String key();

    /**
     * 过期时间
     * @return
     */
    long expireTime() default -1;

    int max() default 200;


}
